package cn.iocoder.yudao.module.train.controller.admin.order.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import jakarta.validation.constraints.*;
import java.math.BigDecimal;

@Schema(description = "管理后台 - 订单新增/修改 Request VO")
@Data
public class OrderSaveReqVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "32009")
    private Integer id;

    @Schema(description = "微信用户ID")
    private Long wxUserId;

    @Schema(description = "交易编号")
    private String tradeSn;

    @Schema(description = "订单编号")
    private String orderSn;

    @Schema(description = "学生ID", example = "15513")
    private Long studentId;

    @Schema(description = "课程ID（多个用逗号隔开）", example = "5301")
    private Long commodityId;

    @Schema(description = "会员等级id", example = "25588")
    private Long levelId;

    @Schema(description = "原价", example = "22206")
    private BigDecimal originPrice;

    @Schema(description = "售价", example = "10836")
    private BigDecimal salePrice;

    @Schema(description = "优惠金额")
    private BigDecimal discountAmount;

    @Schema(description = "退款金额")
    private BigDecimal refundAmount;

    @Schema(description = "订单状态（0待支付/1已支付/2退款中/3已退款/4已关闭）", example = "1")
    private Integer status;

    @Schema(description = "订单类型（0课程订单/1会员订单）", example = "1")
    private Integer orderType;


    @Schema(description = "学生姓名")
    private String studentName;

    @Schema(description = "商品名称")
    private String commodityName;

    @Schema(description = "等级名称")
    private String levelName;

    @Schema(description = "学生电话")
    private String studentPhoneNumber;
}
